package me.zhengjie.modules.management.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @program: eladmin
 * @description: 发送邮件需要信息包装类
 * @author: ming.cao
 * @create: 2020-12-16 11:31
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailForRecordDto implements Serializable {

    @ApiModelProperty(value="教室id")
    private Integer recordId;

    @ApiModelProperty(value="项目名")
    private String subject;

    @ApiModelProperty(value="材料费")
    private BigDecimal materialsCost;

    @ApiModelProperty(value="教室费")
    private BigDecimal roomCost;

    @ApiModelProperty(value="门名称")
    private String roomName;

    @ApiModelProperty(value="目的名称")
    private String purposeName;

    @ApiModelProperty(value="人员数量")
    private Integer userNumber;

    @ApiModelProperty(value="开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Timestamp beginDate;

    @ApiModelProperty(value="结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Timestamp endDate;

    @ApiModelProperty(value="管理员")
    private String applicant;

    @ApiModelProperty(value="部门信息")
    private String deptName;

    @ApiModelProperty(value="邮件")
    private String email;
}
